package management;
//资料
public class Information {
    private String name;//姓名
    private String sex;//性别
    private String  birthday;//生日
    private String department_code;//部门代码
    private String department_name;//部门名称

    public Information(String name, String sex, String birthday, String department_code, String department_name) {
        this.name = name;
        this.sex = sex;
        this.birthday = birthday;
        this.department_code = department_code;
        this.department_name = department_name;
    }

    public Information() {
        this.name = null;
        this.sex = null;
        this.birthday = null;
        this.department_code = null;
        this.department_name = null;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getSex() {
        return sex;
    }

    public void setSex(String sex) {
        this.sex = sex;
    }

    public String getBirthday() {
        return birthday;
    }

    public void setBirthday(String birthday) {
        this.birthday = birthday;
    }

    public String getDepartment_code() {
        return department_code;
    }

    public void setDepartment_code(String department_code) {
        this.department_code = department_code;
    }

    public String getDepartment_name() {
        return department_name;
    }

    public void setDepartment_name(String department_name) {
        this.department_name = department_name;
    }

    @Override
    public String toString() {
        return "Information{" +
                "name='" + name + '\'' +
                ", sex='" + sex + '\'' +
                ", birthday=" + birthday +
                ", department_code='" + department_code + '\'' +
                ", department_name='" + department_name + '\'' +
                '}';
    }
}